package com.example.demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Auther: Admin
 * @Date: 2021/3/3 15:29
 * @Description:
 */
@RestController
public class HelloController {


    @RequestMapping("/hello")
    public String handle01() {
        return "Hello, Spring Boot 2!";
    }


}